package com.hpeu_01.day0108.homework;

public class OuterDemo {
    public static void main(String[] args) {
        Outer outer = new Outer();
        outer.method();
    }
}
interface Inter{
   void show();
}
class Outer{

    public void method(){
       new Inter() {
            @Override
            public void show() {
                System.out.println("HolleWorld");
            }
        }.show();

    }
}
